import {
  Slider,
  Input, Switch, Color, selectPageVarAndCustom, UploadImage
} from '@/components/CustomPage/fields/widget'

/**
 * 调整组件圆角
 */
export function radiusSizeOps() {
  return [
    { type: Slider, option: { label: '组件左上圆角', name: 'topLeftRadius', value: 20, max: 100, step: 1 }},
    { type: Slider, option: { label: '组件右上圆角', name: 'topRightRadius', value: 20, max: 100, step: 1 }},
    { type: Slider, option: { label: '组件左下圆角', name: 'bottomLeftRadius', value: 20, max: 100, step: 1 }},
    { type: Slider, option: { label: '组件右下圆角', name: 'bottomRightRadius', value: 20, max: 100, step: 1 }}
  ]
}
